#!/usr/bin/python3
import dto
from dto import QuantifyRequest, CBResponse


class QuantifyBase:
    def __init__(self):
        self.method = "BASE"

    def act(self, req: QuantifyRequest) -> CBResponse:
        print("method:", self.method)
        rsp = CBResponse(symbol=req.symbol, method=self.method, status=200, msg="OK", tid=req.tid,
                         action=dto.NONE_ACTION)
        return rsp
